package com.Fen.service;

import com.Fen.vo.OrderReportVO;
import com.Fen.vo.SalesTop10ReportVO;
import com.Fen.vo.TurnoverReportVO;
import com.Fen.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    //统计时间内的营业额
    TurnoverReportVO getTurnoverStatistics(LocalDate beginTime, LocalDate endTime);

    //统计时间内的用户数
    UserReportVO getuserStatistics( LocalDate beginTime, LocalDate endTime);

    //统计时间内的订单数
    OrderReportVO getorderStatistics(LocalDate begin, LocalDate end);

    //统计时间内的菜品销量前10
    SalesTop10ReportVO topTen(LocalDate begin, LocalDate end);

    void export(HttpServletResponse response);
}
